package com.vcs.frm.web.form.client;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

public class NewJobFormBean {

	private String jobTitle;
	private String keySkills;
	private String jobDescription;
	
	public NewJobFormBean() {
	}

	@NotNull(message = "Please provide Job Title")
	@Length(max = 500, min = 1, message = "Job Title is required.")
	public String getJobTitle() {
		return jobTitle;
	}

	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}

	public String getJobDescription() {
		return jobDescription;
	}

	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription;
	}

	public String getKeySkills() {
		return keySkills;
	}

	public void setKeySkills(String keySkills) {
		this.keySkills = keySkills;
	}

	@Override
	public String toString() {
		return "NewJobFormBean [jobDescription=" + jobDescription
				+ ", jobTitle=" + jobTitle + ", keySkills=" + keySkills + "]";
	}
	
}
